gtkplacessidebar: remove notification handling
authorCarlos Soriano <csoriano@gnome.org>
Mon, 15 Feb 2016 18:09:54 +0000 (19:09 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 16 Feb 2016 23:36:59 +0000 (18:36 -0500)
commitb8e2ebb840e6daea88c9cdd5a2e58b796d165a52
tree6349c55bf13da42d672fd458f9b5e95a8707f659
parent13e5e837985b9154873c82408ef77a8e20dfa30e
gtkplacessidebar: remove notification handling

We were notifying when an unmount operation was performed. However,
creating notifications from the gtk+ library is not that expected, and
makes notification handling difficult to do from the application point
of view since we cannot dismiss those notifications.

This cause issues like notifications of unmount drives stay there after
a system reboot, which confuses the user.

Instead of that, remove the notification handling for mount operations
on gtk+ and instead create a new signal on the gtkplacessidebar in order
to inform applications using it about an operation about to start.

Only drawback about this is that the GtkFileChooser loses its
notifications when unmounting, that although we could use the new signal
to do it, we actually don't want to notify from any part of gtk+ for
now.

https://bugzilla.gnome.org/show_bug.cgi?id=753351
gtk/gtkplacessidebar.c